package com.kingint.mbg.bas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 排版安排
 * </p>
 *
 * @author wxh
 * @since 2021-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SchedulingArrangement对象", description="排版安排")
public class SchedulingArrangement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工id")
    @TableField("ums_id")
    private Long umsId;
    @ApiModelProperty(value = "用户名")
    @TableField(exist = false)
    private String username;

    @ApiModelProperty(value = "酒店id")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "排班规则id")
    @TableField("scheduling_id")
    private Integer schedulingId;

    @ApiModelProperty(value = "排班日期")
    @TableField("scheduling_date")
    private Date schedulingDate;

    @ApiModelProperty(value = "备注")
    @TableField("note")
    private String note;

    @ApiModelProperty(value = "状态（0，正常，1，删除）")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "身份id")
    @TableField(exist = false)
    private Integer identityId;

    @TableField(exist = false)
    private String identityname;
    @TableField(exist = false)
    private String departmentname;

    @ApiModelProperty(value = "部门id")
    @TableField(exist = false)
    private Integer departmentId;

    @TableField(exist = false)
    private Integer period;


    @TableField(exist = false)
    private String arrangementDate;

    @TableField(exist = false)
    private Scheduling scheduling;


}
